package edu.sctu.nieyu.day20150510.constructor.textone;

import edu.sctu.nieyu.day20150510.constructor.textone.Information;
import edu.sctu.nieyu.day20150510.constructor.textone.InformationTwo;

/**
 * Created by user01 on 2015/5/10.
 */
public class MainOutput {
    public static void main(String[] args) {

        InformationTwo informationTwo = new InformationTwo();
        informationTwo.number=10;

        Information information = new Information(informationTwo);
        int number = information.getNumber();
        System.out.println(number);

    }

}
